package ru.paswd.marketprice.storage.receipt.app.exceptions;

import ru.paswd.marketprice.storage.receipt.app.entity.FiscalId;

public class ReceiptNotFoundException extends ReceiptException {
    public ReceiptNotFoundException(FiscalId fiscalId) {
        super(fiscalId);
    }

    @Override
    public String getMessage() {
        return String.format(
                "Receipt was not found by %s", getArguments());
    }
}
